package com.karry.yl.domain.assessment;

import com.baomidou.mybatisplus.annotations.TableName;
import com.karry.commons.base.SuperEntity;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 评估记录
 */
@TableName("gb_assess_records")
public class AssessRecords extends SuperEntity {

    private Long orgId; // 所属机构
    private String orgName; //机构名称
    private Long elderlyId; //所属老人
    private String elderlyName; //老人姓名
    private String elderlyIdNo; //老人身份证
    private int rs;  // 最终结果 1：具备生活自理能力 2：部分丧失生活自理能力 3：完全丧失生活自理能力
    private int cause; //评估原因 1：接收服务前初评 2：接收服务后的常规评估 3：状况发生变化后的即时评估 4：因评估结果有疑问进行的复评
    private int auditStatus; // 审核状态  1:待审核 2：已审核 3：审核不通过
    private int  selfEat;//自主吃饭 0能 1不能
    private int selfGarb;//自主穿衣0能 1不能
    private int selfGoBed;//自主上下床0能 1不能
    private int  selfToilet;//自主如厕0能 1不能
    private int selfWalk;//自主行走0能 1不能
    private int selfLave;//自主洗澡0能 1不能
    private String fileName;
    private String filePath;

    public AssessRecords() {
    }

    public AssessRecords(Long orgId, String orgName, Long elderlyId, String elderlyName, String elderlyIdNo, int rs, int cause, int auditStatus, int selfEat, int selfGarb, int selfGoBed, int selfToilet, int selfWalk, int selfLave, String fileName, String filePath) {
        this.orgId = orgId;
        this.orgName = orgName;
        this.elderlyId = elderlyId;
        this.elderlyName = elderlyName;
        this.elderlyIdNo = elderlyIdNo;
        this.rs = rs;
        this.cause = cause;
        this.auditStatus = auditStatus;
        this.selfEat = selfEat;
        this.selfGarb = selfGarb;
        this.selfGoBed = selfGoBed;
        this.selfToilet = selfToilet;
        this.selfWalk = selfWalk;
        this.selfLave = selfLave;
        this.fileName = fileName;
        this.filePath = filePath;
    }

    public Long getOrgId() {
        return orgId;
    }

    public void setOrgId(Long orgId) {
        this.orgId = orgId;
    }

    public String getOrgName() {
        return orgName;
    }

    public void setOrgName(String orgName) {
        this.orgName = orgName;
    }

    public Long getElderlyId() {
        return elderlyId;
    }

    public void setElderlyId(Long elderlyId) {
        this.elderlyId = elderlyId;
    }

    public String getElderlyName() {
        return elderlyName;
    }

    public void setElderlyName(String elderlyName) {
        this.elderlyName = elderlyName;
    }

    public String getElderlyIdNo() {
        return elderlyIdNo;
    }

    public void setElderlyIdNo(String elderlyIdNo) {
        this.elderlyIdNo = elderlyIdNo;
    }

    public int getRs() {
        return rs;
    }

    public void setRs(int rs) {
        this.rs = rs;
    }

    public int getCause() {
        return cause;
    }

    public void setCause(int cause) {
        this.cause = cause;
    }

    public int getAuditStatus() {
        return auditStatus;
    }

    public void setAuditStatus(int auditStatus) {
        this.auditStatus = auditStatus;
    }

    public int getSelfEat() {
        return selfEat;
    }

    public void setSelfEat(int selfEat) {
        this.selfEat = selfEat;
    }

    public int getSelfGarb() {
        return selfGarb;
    }

    public void setSelfGarb(int selfGarb) {
        this.selfGarb = selfGarb;
    }

    public int getSelfGoBed() {
        return selfGoBed;
    }

    public void setSelfGoBed(int selfGoBed) {
        this.selfGoBed = selfGoBed;
    }

    public int getSelfToilet() {
        return selfToilet;
    }

    public void setSelfToilet(int selfToilet) {
        this.selfToilet = selfToilet;
    }

    public int getSelfWalk() {
        return selfWalk;
    }

    public void setSelfWalk(int selfWalk) {
        this.selfWalk = selfWalk;
    }

    public int getSelfLave() {
        return selfLave;
    }

    public void setSelfLave(int selfLave) {
        this.selfLave = selfLave;
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public String getFilePath() {
        return filePath;
    }

    public void setFilePath(String filePath) {
        this.filePath = filePath;
    }

    @Override
    public String toString() {
        return "AssessRecords{" +
                "orgId=" + orgId +
                ", orgName='" + orgName + '\'' +
                ", elderlyId=" + elderlyId +
                ", elderlyName='" + elderlyName + '\'' +
                ", elderlyIdNo='" + elderlyIdNo + '\'' +
                ", rs=" + rs +
                ", cause=" + cause +
                ", auditStatus=" + auditStatus +
                ", selfEat=" + selfEat +
                ", selfGarb=" + selfGarb +
                ", selfGoBed=" + selfGoBed +
                ", selfToilet=" + selfToilet +
                ", selfWalk=" + selfWalk +
                ", selfLave=" + selfLave +
                ", fileName='" + fileName + '\'' +
                ", filePath='" + filePath + '\'' +
                '}';
    }
}
